package com.yic.module.mes.controller.admin.itemproduce.vo;

import com.yic.module.mes.controller.admin.itemproduceroute.vo.ItemProduceRouteCreateReqVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.Valid;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 产品生产信息更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ItemProduceUpdateReqVO extends ItemProduceBaseVO {

    @Schema(description = "序号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29852")
    @NotNull(message = "序号不能为空")
    private Long id;

    @Valid
    @Schema(description = "产品工艺路线")
    List<ItemProduceRouteCreateReqVO> routeList;

}
